__author__ = 'biwangshen_sx'

urls = {
    'statistics': '/records/dashboard',
    'cdn_delivery': '/cdn/stats/projects',

    'keypairs': '/keypairs',
    'members_list': '/gpass/couser/list',
    'members_in_project': '/gpass/query/ownproject',
    'members_in_coproject': '/gpass/query/coproject',
    'members_not_in_project': '/gpass/list/availablecomember',
    'members_add': '/gpass/couser/add',
    'members_freeze': '/gpass/couser/lock',
    'members_unfreeze': '/gpass/couser/unlock',
    'members_delete': '/gpass/couser/delete',
    'project_member_mod': '/gpass/mod/comemberrole',

    'attach_member_to_project': '/gpass/add/comember',
    'dettach_member_from_project': '/gpass/del/comember',

    'projects': '/gpass/query/projects',
    'self_projects': '/gpass/list/ownproject',
    'co_projects': '/gpass/list/coproject',
    'project_del': '/gpass/del/ownproject',

    'roles': '/gpass/roles',
    'users_q': '/gpass/query/user',
    'users_add': '/gpass/add/user',

    'attached_clusters': '/gpass/list/project_clusters',
    'unattached_clusters': '/gpass/list/projectclusterlist',

    'attach_cluster': '/gpass/add/clustertoproject',
    'deattach_cluster': '/gpass/del/clusterfromproject',

    'project_add': '/gpass/add/ownproject',

    'instances_list': '/records/instance',
    'instance_create': '/instances',
    'instance_q': '/instances',
    'instance_q_v2': '/instances/v2',

    'instances_search': '/records/instance/{project_id}/search',

    'cdn_log_search_host': 'http://10.77.34.89:5000',
    'cdn_log_detail_host': 'http://10.77.34.89:5010',

    'cdn_log_search': '/cdn/tasklog/search',
    'cdn_log_detail': '/admin/cdn/tasks/{task_id}/{status}',

    'cdn_submit_host': 'http://gamecloud-test.qiyi.domain:3333',

    'cdn_search': '/cdn',
    'cdn_submit_projects': '/cdn/stats/projects',
    'cdn_submit_ftype': '/cdn/stats/filetypes',
    'cdn_submit_status': '/cdn/stats/status',

    'default_project': '/gpass/mod/setdefaultproject',
    'permission': '/gpass/query/permission',

    'instance_destroy': '/instances/destroy',

    'instance_start': '/instances/start',
    'instance_stop': '/instances/stop',

    'instance_reboot': '/instances/reboot',

    'instance_health': '/monitor',
    'instance_tag': '/records/tag',

    'instance_oplog_list': '/logs/list',
    'vnc': '/query/{instance_id}/getnovnc',

    'flavors': '/records/flavors',
    'images_v2': '/records/v2/images',

    'ip': '/ip',

    'status_helper': '/instances/records',
    'status_helper_update': '/instances/records/{action}',

    'logs_add': '/logs/add',

    'token_service': '/tokens',

    'mitaka_host_network': '',
    'router_interface': '/v2.0/routers/{router_id}/add_router_interface',
}